package cn.tedu.antcolony.market.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("t_clue")
public class Clue implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String source;
    private String name;
    private String chance;
    private String area;
    private String address;
    private String phone;
    private String linkman;
    private String mailbox;
    private String createMan;
    private String assignMan;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime assignTime;
    private Integer state;
    private Integer isValid;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime gmtCreate;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDateTime gmtModified;

}

